package com.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author chl
 * @since 2021-12-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class StudentTable extends Model<StudentTable> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;


    private String studentNo;


    private String studentName;

    private Date createTime;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
